<!doctype html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta name="author" content="order by dede58.com"/>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>笔记库后台-修改角色</title>
    <#include "public/link_css.ftl">
    <#include "public/link_js.ftl">
    <#--    <script>window.location.href='upgrade-browser.html';</script>-->
</head>

<body class="user-select">
<section class="container-fluid">
    <#include "public/header.ftl">
    <div class="row">
        <#include "public/left.ftl">
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-lg-10 col-md-offset-2 main" id="main">
            <h1 class="page-header">修改角色</h1>
            <form action="/admin/role/edit" method="post">
                <input type="hidden" name="id" value="${updateRole.id}"/>
                <div class="form-group">
                    <label for="category-name">角色名称</label>
                    <input type="text" id="category-name" name="role" value="${updateRole.role}" class="form-control"
                           placeholder="在此处输入角色名称" required autocomplete="off">
                    <div class="form-group">
                        <label for="category-fname">角色描述</label>
                        <input type="text" id="category-name" name="role" value="${updateRole.description}"
                               class="form-control"
                               placeholder="在此处输入角色名称" required autocomplete="off">
                    </div>
                    <div>
                        <label for="category-fname">是否可用</label>
                        <select id="category-fname" class="form-control" name="available">
                            <option value="0">不可用</option>
                            <option value="1" selected>可用</option>
                        </select>
                    </div>
                    <button class="btn btn-primary" type="submit" name="submit">更新</button>
                </div>
            </form>
        </div>
    </div>
</section>

</body>
</html>
